Skip to content

feat: Implement basic version of BigQuery Agent Analytics Plugin#946

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_877497234
Open

feat: Implement basic version of BigQuery Agent Analytics Plugin#946
copybara-service[bot] wants to merge 1 commit intomainfrom
test_877497234

Conversation

@copybara-service
Copy link

feat: Implement basic version of BigQuery Agent Analytics Plugin

This change introduces a new plugin for the Agent Development Kit (ADK) that logs agent execution events to BigQuery. It includes:

  • BigQueryAgentAnalyticsPlugin: A plugin that captures various agent lifecycle events (user messages, tool calls, model invocations) and sends them to BigQuery.
  • BigQueryLoggerConfig: Configuration options for the plugin, including project/dataset/table IDs, batching, and retry settings.
  • BigQuerySchema: Defines the BigQuery and Arrow schemas used for the event table.
  • BatchProcessor: Handles batching of events and writing them to BigQuery using the Storage Write API with Arrow format.
  • JsonFormatter: Utility for safely formatting JSON content for BigQuery.

@copybara-service copybara-service bot force-pushed the test_877497234 branch 12 times, most recently from c6aedc9 to 888c5d7 Compare March 3, 2026 23:27
This change introduces a new plugin for the Agent Development Kit (ADK) that logs agent execution events to BigQuery. It includes:
-   `BigQueryAgentAnalyticsPlugin`: A plugin that captures various agent lifecycle events (user messages, tool calls, model invocations) and sends them to BigQuery.
-   `BigQueryLoggerConfig`: Configuration options for the plugin, including project/dataset/table IDs, batching, and retry settings.
-   `BigQuerySchema`: Defines the BigQuery and Arrow schemas used for the event table.
-   `BatchProcessor`: Handles batching of events and writing them to BigQuery using the Storage Write API with Arrow format.
-   `JsonFormatter`: Utility for safely formatting JSON content for BigQuery.

PiperOrigin-RevId: 877497234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant